<div id="header-sub"> 
    <div id="navigation-sub">
        <div id="main-nav-left" class="main-nav"> 
            <ul class="topNavi"> 
                <li class="about navitem">
                    <a href="{$links.1->url}">About</a>
                    <div class="subText">
                    </div>
                </li>
                <li class="work navitem"> 
                    <a href="{$links.2->url}">Work</a>
                    <div class="subText"></div>
                </li>
            </ul>
        </div>
        <h1 id="logo-sub">
            <a href="{$first_item->url}" title="{$first_item->name}">{$first_item->name}</a>
        </h1>
        <!--end logo-->
        <div id="main-nav-right" class="main-nav">
            <ul class="topNavi"><li class="blog navitem">
                    <a href="http://blackwave.net/online-branding-clients/"
                        >Clients</a>
                    <div class="subText">
                    </div>
                </li>
                <li class="services navitem">

                    <a href="http://blackwave.net/creative-website-design-services/">
                        Services</a>
                    <div class="subText"></div> 
                </li>
            </ul>
        </div> 
    </div>
    <div class="clear">

</div><!-- END NAVIGATION --> </div>

{permissions level=$smarty.const.UILEVEL_NORMAL}
{if $permissions.edit == 1}
<div class="contextMenu" id="mid_menu_top" >
    <ul>

        <li><a href="{link module=linklistmodule action=manage}" class="add">Manage</a></li>
        <li><a class="tip" title="Configure this module"  href="{link action=configure _common=1}">Config</a></li>
    </ul>

</div>   
{/if}
{literal}
<script type="text/javascript">
    $('#header-sub').contextMenu('mid_menu_top', { bindings: {      }

    });
</script>
        {/literal}
        
        {/permissions}        